-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: remove global network usage from transaction confirmations #28236
refactor: remove global network usage from transaction confirmations #28236
Conversation
1a2436d
to
4751ebf
Compare
Builds ready [4751ebf]
Page Load Metrics (2019 ± 105 ms)
Bundle size diffs
|
Builds ready [64e464e]
Page Load Metrics (1940 ± 78 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [43317f9]
Page Load Metrics (2003 ± 172 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
STX toggle is ON but the transaction is submitted as regular Send, user is able to customize nonce qand send the transaction with the low / high nonce value. On the latest regularTx.movApart from STX, all other functionalities seem to be operating as anticipated. |
Builds ready [f8c33c4]
Page Load Metrics (2079 ± 91 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
STX function as expected! |
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Builds ready [1bf2dac]
Page Load Metrics (1867 ± 77 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Remove usages of global network selectors from transaction confirmation React components and hooks.
Specifically:
getConversionRate
getCurrentChainId
getNativeCurrency
getNetworkIdentifier
getNftContracts
getNfts
getProviderConfig
getRpcPrefsForCurrentProvider
selectConversionRateByChainId
selectNftsByChainId
selectNftContractsByChainId
selectNetworkIdentifierByChainId
Related issues
Fixes: #3469 #3373 #3486 #3487
Manual testing steps
Full regression of all transaction confirmations and related functionality.
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist